<include file="../header" />
<body>
<div class="wraper">
    <div class="load">
        <img class="load-bee" src="/assets/repairhsd/images/load-bee.png"/>

    </div>
    <div class="top">
        <p>
            <a href="{BEESCRM::U('Base/Center/center',array('account_id'=>$accountId))}" class="fl-left iconfont icon-zuo"></a>
            <span class="fl-left">{BEESCRM:$app_name}</span>
        </p>
    </div>
    <div class="contain actived">
    	<if condition="$list neq null">
    	<volist name="list" id="vo">
        <a href="/index.php?g=repairhsd&m=repairhsdReceive&a=index&repairId={BEESCRM:$repairId}&order_id={BEESCRM:$vo.order_id}&type={BEESCRM:$type}" class="list">
            <p>{BEESCRM:$vo['content']|mb_substr=0,25,'utf8'}</p>
            <p class="sub">{BEESCRM:$vo['create_time']|date="Y-m-d",###}&nbsp;&nbsp;报修人：<if condition="$vo['real_name'] neq ''">{BEESCRM:$vo['real_name']|mb_substr=0,1,'utf8'}某某<else/>未知</if>
            <span class="send fl-right">
            <if condition="$vo['status'] eq 1">
                    已下单
            <elseif condition="$vo['status'] eq 2"/>
                    待接单    
            <elseif condition="$vo['status'] eq 3"/>
                <font color="green">已接单</font>
            <elseif condition="$vo['status'] eq 4" />
                <font color="#ccc">已维修</font>
            <elseif condition="$vo['status'] eq 4 and $vo['need_pay'] eq 1"/>
                <font color="green">待支付</font>
            <elseif condition="$vo['status'] eq 5"/>
                    已支付    
            <elseif condition="$vo['status'] eq 6"/>
                    已评价                                
            <elseif condition="$vo['status'] eq 0" />
                <font color="green">已取消</font>    
            </if>
            </span>
            </p>
        </a>
        </volist>
        <else/>
        <div style="width: 40%;margin: 20% auto 0;">
            <img src="/assets/repairhsd/images/nonelist.png"/>
        </div>
        </if>
    </div>
    <!-- <a href="#" class="more">加载更多</a> -->
    <div class="marginb-50"></div>
    <include file="../nav" />
</div>

<include file="../commonJS" />
</body>
<script type="text/javascript">
	$(function(){
		var timeOut="{BEESCRM:$timeOut}";
		if(timeOut==1){
			$.confirm('现在非维修工上班时间，订单不能及时处理');
		}
	})
</script>
</html>
